#pragma once
#include <iostream>
#include <string>
#include <vector>
#include <fstream>
#include "Movie.h"

using namespace std;

class MovieRegister : public Movie
{

private:
	vector <Movie> v;
public:

	MovieRegister();

	void WriteToFile(Movie w);
	void ReadFromFile();

	void Add(Movie a);
	void Delete(int i);
	string List();


	~MovieRegister();
};

